package io.renren.modules.basic.service.impl;

import io.renren.modules.basic.dao.MtCcDeviceCommunLogDao;
import io.renren.modules.basic.entity.MtCcDeviceCommunLogEntity;
import io.renren.modules.basic.service.MtCcDeviceCommunLogService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;




@Service("mtCcDeviceCommunLogService")
public class MtCcDeviceCommunLogServiceImpl extends ServiceImpl<MtCcDeviceCommunLogDao, MtCcDeviceCommunLogEntity> implements MtCcDeviceCommunLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MtCcDeviceCommunLogEntity> page = this.page(
                new Query<MtCcDeviceCommunLogEntity>().getPage(params),
                new QueryWrapper<MtCcDeviceCommunLogEntity>()
        );

        return new PageUtils(page);
    }

}